import request from "@/utils/request";

// 实时监控管理
/*
 * 列表信息
 */
// export function RealTimeMonitoringList(page, limit, symbols) {
//   return request({
//     url: `/RealTimeMonitoring/list?page=${page}&limit=${limit}&symbols=${symbols}`,
//     method: "get",

//   });
// }
export function RealTimeMonitoringList(data) {
  return request({
    url: `/RealTimeMonitoring/list`,
    method: "post",
    data
  });
}
/*
 * 主账户列表
 */
export function RealTimeMonitoringGetMaster(page, limit, symbols) {
  return request({
    url: `/RealTimeMonitoring/getMaster?page=${page}&limit=${limit}&symbols=${symbols}`,
    method: "get",
  });
}
/*
 * 成交明细
 */
export function RealTimeMonitoringInfo(params) {
  return request({
    url: `/RealTimeMonitoring/info`,
    method: "get",
    params,
  });
}

// 饼图信息
/*
 * 饼图信息
 */
export function RealTimeMonitoringPie(params) {
  return request({
    url: `/RealTimeMonitoring/getMonitorDashboard`,
    method: "get",
    params,
  });
}
